package com.jeesite.modules.dataScreen.dao;

import cn.hutool.core.date.DateTime;
import com.alibaba.fastjson2.JSONObject;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jeesite.modules.dataScreen.web.vo.trafficzf.AnjianPageVo;
import com.jeesite.modules.dataScreen.web.vo.trafficzf.TrafficPointLine;
import com.jeesite.modules.dataScreen.web.vo.trafficzf.TrafficZfVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@DS("sjtb-db")
public interface TrafficZfDao {

    TrafficZfVo getTrafficwf();

    List<JSONObject> getQuality(@Param("yearStart") Date yearStart);

    IPage<AnjianPageVo> anjianPage(IPage<AnjianPageVo> page, @Param("type") String type);

    List<JSONObject> anjianMonth(@Param("type") Integer type, @Param("yearStart") Date yearStart);

    List<JSONObject> queryJthytzzb(@Param("tslb") String tslb, @Param("monthPat") String month);

    List<JSONObject> anjianNumber(String month);

    List<TrafficPointLine> pointLines(@Param("startTime") DateTime startTime);
}
